#ifndef LOADER_H
#define LOADER_H

#include "TXMLEngine.h"
#include "XMLConfig.cxx"
#include "TString.h"

using namespace std ;

class loader {
    private:
    public: 
        loader(){};
        TH1* loadHistsMC(TString flavor, TString name, TString observable, TString cut, Int_t nbins, Double_t lowx, Double_t highx);
        TH1* loadHistsABCD(TString flavor, TString observable, TString cut, Int_t nbins, Double_t lowx, Double_t highx);
        TH1* loadHistsE(TString flavor, TString observable, TString cut, Int_t nbins, Double_t lowx, Double_t highx);
        TH1* loadOneHistData(TString flavor, TString name, TString observable, TString cut, Double_t nbins, Double_t lowx, Double_t highx, TString modification="all"); 
        TH1 * loadOneHistMC(TString flavor, TString modification, TString name, TString observable, TString cut, Double_t nbins, Double_t lowx, Double_t highx); 

};

#endif

